package admin

import (
	auto "beergo/app/admin/auto/controller"
	"beergo/app/admin/conf"
	"github.com/beego/beego/v2/server/web"
)

type AdminUserAdminController struct {
	auto.AdminUserController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/:id", 		&AdminUserAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/info", 		&AdminUserAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/scan", 		&AdminUserAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/list", 	    &AdminUserAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/update", 	&AdminUserAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/create", 	&AdminUserAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/copy", 	    &AdminUserAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/edit", 	    &AdminUserAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/delete", 	&AdminUserAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/:id/:field", &AdminUserAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/choice", &AdminUserAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminUser/category", &AdminUserAdminController{}, "*:CategoryAction")
}
//func (this *AdminUserAdminController) Prepare() {}
//func (this *AdminUserAdminController) ListAction() {}
//func (this *AdminUserAdminController) GetAction() {}
//func (this *AdminUserAdminController) InfoAction() {}
//func (this *AdminUserAdminController) ScanAction() {}
//func (this *AdminUserAdminController) CreateAction() {}
//func (this *AdminUserAdminController) UpdateAction() {}
//func (this *AdminUserAdminController) CopyAction() {}
//func (this *AdminUserAdminController) DeleteAction() {}
//func (this *AdminUserAdminController) EditAction() {}
//func (this *AdminUserAdminController) SonsAction() {}
//func (this *AdminUserAdminController) ChoiceAction() {}
//func (this *AdminUserAdminController) CategoryAction() {}
